export const formConfig = {
  blockTitle: '人员信息',
  tableName: 'appList',
  groups: [
    {
      groupName: '应用信息',
      fields: [
        { id: '001', model: 'id', label: '应用ID', width: '', type: 'input', disabled: 'Y' },
        { id: '005', model: 'createTime', label: '创建时间', width: '', type: 'input', disabled: 'Y', default: '' },
        {
          id: '002',
          model: 'appName',
          label: '应用名称',
          width: '',
          type: 'input',
          disabled: 'N',
          rules: [{ required: true, message: '应用名称', trigger: 'blur' }],
        },
        { id: '003', model: 'description', label: '应用描述', width: '', type: 'input' },
        { id: '004', model: 'icon', label: '图标', width: '', type: 'input' },
        {
          id: '010',
          model: 'category',
          label: '所属分类',
          width: '',
          type: 'select',
          opt: [
            { value: 'b673b073-6c5f-40e0-af0e-1c6cc4de345b', label: '未分类' },
            { value: '413b30b1-9a88-48b1-8dfc-1ee1cffa59f3', label: '档案管理' },
          ],
          rules: [{ required: true, message: '比填项', trigger: 'blur' }],
        },
      ],
    },
    {
      groupName: '应用管理',
      fields: [{ id: '021', model: 'isLock', label: '禁用', width: '', type: 'switch', opt: { activeValue: 'Y', inactiveValue: 'N' } }],
    },
  ],
}
